package com.rcd.manager.dao.impl;

import java.util.List;

import com.rcd.dao.ILogoDao;
import com.rcd.exception.MyException;
import com.rcd.manager.dao.ILogoManagerDao;
import com.rcd.util.Page;
import com.rcd.vo.Logo;


public class ILogoManagerDaoimpl implements ILogoManagerDao {

	private ILogoDao logoDao;
	public void setLogoDao(ILogoDao logoDao) {
		this.logoDao = logoDao;
	}

	public void addLogo(Logo logo) throws MyException {
		logoDao.addLogo(logo);
	}

	public void delLogpo(int lid) throws MyException {
		logoDao.delLogpo(lid);
	}

	public List<Logo> findAll(Page page) throws MyException {
		return logoDao.findAll(page);
	}

	public Logo findById(int lid) throws MyException {
		return logoDao.findById(lid);
	}

	public int getAllCount(Page page) throws MyException {
		return logoDao.getAllCount(page);
	}

	public void updateLogo(Logo logo) throws MyException {
		logoDao.updateLogo(logo);
	}

	public void delLogpos(Object[] lids) throws MyException {
		logoDao.delLogos(lids);
	}

}
